/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package towerz.game.entity;

import javax.microedition.lcdui.Graphics;
import towerz.system.Utilities;

/**
 *
 * @author TimotiusNC
 */
public abstract class Entity {
    public Entity(){
		//Do nothing
	}

	//Accessors
	public int getX()		{	return getTileX() * Utilities.TILE_WIDTH;	}
	public int getY()		{	return getTileY() * Utilities.TILE_HEIGHT;	}
    public int getTileX()	{	return m_TileX;								}
    public int getTileY()	{	return m_TileY;								}

    public abstract void draw(Graphics g, int startX, int startY, int endX, int endY, int offsetX, int offsetY);

    //Position
	protected int m_TileX;
	protected int m_TileY;
}
